namespace WXWorkSvc.Areas.Admin.Pages.Agent;

public class UserListModel : PageModel
{
    public List<TUser> Items { get; set; } = default!;
    public async Task OnGet([FromServices] WXDbContext db, string suiteId, string corpId)
    {
        Items = await db.Users.Where(ii => ii.SuiteId == suiteId && ii.CorpId == corpId).ToListAsync();
    }
}
